<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Vancouver Tongue</title>
<link href="/VancouverTongue/static/style.css" type="text/css"
	rel="stylesheet" />
<link rel="shortcut icon" href="/VancouverTongue/static/icon.png">
<style>
textarea {
	min-height: 200px;
	max-height: 200px;
	min-width: 400px;
	max-width: 400px;
}

.comment {
	border-top: double 5px black;
	margin-top: 20px;
}
</style>
</head>
<body>
	<jsp:include page="headTemplate.jsp" />
	<table border="0">
		<tr>
			<td><c:if test="${restaurant.actId eq 2}">
					<div>
						<p>
							<strong>Original Info:</strong>
						</p>
						<h2>${original.restaurantName}</h2>
						<div>
							<img src="${original.image}" alt="Restaurant Image" />
						</div>
						<p>Phone: ${original.phone}</p>
						<p>Address: ${original.streetName}</p>
						<p>City: ${original.city}</p>
						<p>Websit: ${original.website}</p>
						<p>Business Hour: ${original.businessHour}</p>
						<p>Description: ${original.description}</p>
						<p>Last Modified: ${original.editdate}</p>
						<p>Owner: ${original.ownerId}</p>
						<p>Rating: ${original.rating}</p>
					</div>
				</c:if></td>
			<td>
				<div>
					<p>
						<strong>New Request:</strong>
					</p>
					<h2>${restaurant.restaurantName}</h2>
					<div>
						<img src="${restaurant.image}" alt="Restaurant Image" />
					</div>
					<p>Phone: ${restaurant.phone}</p>
					<p>Address: ${restaurant.streetName}</p>
					<p>City: ${restaurant.city}</p>
					<p>Website: ${restaurant.website}</p>
					<p>Business Hour: ${restaurant.businessHour}</p>
					<p>Description: ${restaurant.description}</p>
					<p>Modify Date: ${restaurant.date}</p>
					<form method="post" action="${restaurant.requestId}/discard">
						<input type="submit" value="Discard" />
					</form>
					<form method="post" action="${restaurant.requestId}/confirm">
						<input type="submit" value="Confirm" />
					</form>
				</div>
			</td>
		</tr>
	</table>
</body>
</html>